package cn.yunyichina.provider.clinic.vo;

import cn.yunyichina.provider.framework.annotation.validate.AnnotationValidable;
import cn.yunyichina.provider.framework.annotation.validate.ValidateNotNullAndNotEmpty;
import cn.yunyichina.provider.framework.annotation.validate.ValidateSize;

/**
 * Created by JoeZ on 2017/3/2.
 */
public class AsmGeneralOrderRefundRequest implements AnnotationValidable {

    @ValidateSize(minSize = "0", maxSize = "64")
    private String paymentDealId;

    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "64")
    private String orderNo;

    @ValidateSize(minSize = "0", maxSize = "64")
    private String outOrderNo;

    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "28")
    private Integer refundAmount;

    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "50")
    private String refundTime;

    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "100")
    private String refundReason;

    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "2")
    private Integer partialOrAllrefund;

    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "5")
    private String payMode;

    public String getPaymentDealId() {
        return paymentDealId;
    }

    public void setPaymentDealId(String paymentDealId) {
        this.paymentDealId = paymentDealId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getOutOrderNo() {
        return outOrderNo;
    }

    public void setOutOrderNo(String outOrderNo) {
        this.outOrderNo = outOrderNo;
    }

    public Integer getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(Integer refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(String refundTime) {
        this.refundTime = refundTime;
    }

    public String getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }

    public Integer getPartialOrAllrefund() {
        return partialOrAllrefund;
    }

    public void setPartialOrAllrefund(Integer partialOrAllrefund) {
        this.partialOrAllrefund = partialOrAllrefund;
    }

    public String getPayMode() {
        return payMode;
    }

    public void setPayMode(String payMode) {
        this.payMode = payMode;
    }
}
